package com.qf.dao;

import com.qf.pojo.vo.Address;
import com.qf.pojo.vo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface UserMapper {
    int insert(User user);
    int update(User user);

    void updateinformation(User user);

    List<Address> findAddress(@Param("uid") Integer uid);

    int addORupdate(Address address);
}
